/* 
/*--------------------------------------------------------------------------*/
/*
var s = document.createElement('script');
s.setAttribute('src', 'http://www.google.com/jsapi');
document.getElementsByTagName('head')[0].appendChild(s);
*/

google.load("language", "1");

function translate(id) {
    var obj = document.getElementById('hotel_content');
    var text = obj.innerHTML;
    alert(text);
    alert('1');
    google.language.translate(text, "en", "ru",
        function(result) {
            alert(result.translation);
            if (result.translation) {
                obj.innerHTML = result.translation;
            }
        }
    );
}